package com.study.map.constant;

/**
 * 高德地图常量类
 *
 * @author study
 * @date 2025-08-31
 */
public class GaodeMapConstants {

    /**
     * API版本
     */
    public static final String API_VERSION_V3 = "v3";
    public static final String API_VERSION_V4 = "v4";

    /**
     * 地理编码接口
     */
    public static final String GEO_CODE_URL = "/geocode/geo";

    /**
     * 逆地理编码接口
     */
    public static final String RE_GEO_CODE_URL = "/geocode/regeo";

    /**
     * 驾车路径规划接口
     */
    public static final String DRIVING_ROUTE_URL = "/direction/driving";

    /**
     * 步行路径规划接口
     */
    public static final String WALKING_ROUTE_URL = "/direction/walking";

    /**
     * 骑行路径规划接口
     */
    public static final String BICYCLING_ROUTE_URL = "/direction/bicycling";

    /**
     * 公交路径规划接口
     */
    public static final String TRANSIT_ROUTE_URL = "/direction/transit/integrated";

    /**
     * 行政区划查询接口
     */
    public static final String DISTRICT_URL = "/config/district";

    /**
     * 天气查询接口
     */
    public static final String WEATHER_URL = "/weather/weatherInfo";

    /**
     * POI搜索接口（文本搜索）
     */
    public static final String PLACE_TEXT_URL = "/place/text";

    /**
     * POI搜索接口（周边搜索）
     */
    public static final String PLACE_AROUND_URL = "/place/around";

    /**
     * POI搜索接口（多边形搜索）
     */
    public static final String PLACE_POLYGON_URL = "/place/polygon";

    /**
     * POI搜索接口（ID查询）
     */
    public static final String PLACE_DETAIL_URL = "/place/detail";

    /**
     * 输入提示接口
     */
    public static final String INPUT_TIPS_URL = "/assistant/inputtips";

    /**
     * 静态地图接口
     */
    public static final String STATIC_MAP_URL = "/staticmap";

    /**
     * 坐标转换接口
     */
    public static final String COORD_CONVERT_URL = "/assistant/coordinate/convert";

    /**
     * IP定位接口
     */
    public static final String IP_LOCATION_URL = "/ip";

    /**
     * 距离测量接口
     */
    public static final String DISTANCE_URL = "/distance";

    /**
     * 抓路服务接口
     */
    public static final String GRASP_ROAD_URL = "/grasproad";

    /**
     * 矩形区域交通态势接口
     */
    public static final String TRAFFIC_STATUS_RECTANGLE_URL = "/traffic/status/rectangle";

    /**
     * 圆形区域交通态势接口
     */
    public static final String TRAFFIC_STATUS_CIRCLE_URL = "/traffic/status/circle";

    /**
     * 指定线路交通态势接口
     */
    public static final String TRAFFIC_STATUS_ROAD_URL = "/traffic/status/road";

    /**
     *  交通事件查询
     */
    public static final String TRAFFIC_EVENT_URL = "/event/queryByAdcode";

    /**
     * 成功状态码
     */
    public static final String STATUS_SUCCESS = "1";

    /**
     * 失败状态码
     */
    public static final String STATUS_FAIL = "0";
}